from PIL import Image 

def main(): 
	try: 
		#Relative Path 
		img = Image.open("generated0_0A1.jpg") 
		width, height = img.size 

		img = img.resize((1368, 1890))
		
		#Saved in the same relative location 
		img.save("resized_picture.jpg") 
	except IOError: 
		pass

if __name__ == "__main__": 
	main() 
